﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

using PublicDomain.Framework.UnitTesting.DataDrivenTest;

namespace PublicDomain.UnitTest.Framework.UnitTesting
{
    [TestClass]
    public class DataTableColumnNameAttributeTest
    {
        [TestMethod]
        [Description("Tests constructor DataTableColumnNameAttribute(string columnName).")]
        public void DataTableColumnNameAttributeConstructorTest()
        {
            const string expectedColumnName = "First Name";

            var target = new DataTableColumnNameAttribute(expectedColumnName);

            Assert.AreEqual(expectedColumnName, target.ColumnName);
        }
    }
}
